Skip to content

fix(api): convert grok assets url to base64 in image response#2

Open
ThinkerWen wants to merge 1 commit intoJinchengGao-Infty:inftyfrom
ThinkerWen:fix/generations
Open

fix(api): convert grok assets url to base64 in image response#2
ThinkerWen wants to merge 1 commit intoJinchengGao-Infty:inftyfrom
ThinkerWen:fix/generations

Conversation

@ThinkerWen
Copy link
Copy Markdown

@ThinkerWen ThinkerWen commented Apr 7, 2026

Summary

生图时要求 response_formatbase64 但实际上返回的内容为 grok 的 url,用请求时的账号下载实际的图片内容,再转换为base64,实现真正的 base64 返回

Changes

  • 功能新增
  • Bug 修复
  • 重构/清理
  • 文档更新
  • 其他(请说明)

Related Issues

Verification

  • 本地运行验证
  • 单元/集成测试
  • Docker 构建通过
  • 未验证(请说明原因)

Breaking Changes

  • 有(请说明迁移方式)

Images

image

⬇️

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant